<style lang="less">
    @import '../../../styles/common.less';
</style>

<template>
    <Button @click="clickHandler" :type="type" :icon="icon">
        {{label}}
    </Button>
</template>

<script>
  export default {
    name: 'accessButton',
    props: ['label', 'type', 'icon', 'accessKey', 'setting'],
    data () {
      return {};
    },
    methods: {
      clickHandler (e) {
        this.$emit('click', e);
      }
    },
    mounted () {
    }
  };
</script>
